package com.ruoyi.pos.mapper;

import com.ruoyi.pos.domain.PosColour;
import com.ruoyi.pos.domain.PosShangpin;
import com.ruoyi.pos.domain.PosShangpinItem;
import com.ruoyi.pos.domain.PosSize;

import java.util.List;

/**
 * 岗位信息 数据层
 *
 * @author ruoyi
 */
public interface PosShangpinMapper {

    public List<PosShangpin> selectPosShangpinList(PosShangpin posShangpin);

    public PosShangpin selectPosShangpinById(Integer shangpinId);

    public List<PosColour> selectPosColourList(Integer shangpinId);

    public List<PosSize> selectPosSizeList(PosShangpinItem posShangpinItem);

    public PosColour selectPosColourById(Integer id);

    public PosSize selectPosSizeById(Integer id);

    public List<PosShangpinItem> selectPosShangpinItemList(PosShangpinItem posShangpinItem);
    public int updatePosShangpinItem(PosShangpinItem posShangpinItem);
}
